 
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<title>微名片管理</title>

<script>

document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
WeixinJSBridge.call('hideOptionMenu');
});

</script>


 <style>
.touxiang{ height:12rem; width:8rem; margin:0 auto;} 
.touxiang img{ width:8rem; height:8rem;   margin-top:3rem;}
.touxiang img:hover{ opacity:0.7;} 
.bd input{ height:3rem; background:#FFF;  }
.bd .u_btn_b{ height:3rem;}
.h .ui-btn{ line-height:1.5rem;}
#edui1,#edui60,#edui60_iframeholder,#edui1_iframeholder{ width:100% !important; }
.simditor .simditor-body,.simditor .simditor-wrapper .simditor-placeholder{ padding:10px !important}

 
textarea{ border:none !important; text-shadow:none !important; background:none !important}
.ui-focus ,.u_txt{ background:none !important; text-shadow:none !important;
 -moz-box-shadow: none !important;
 -webkit-box-shadow: none !important;
 box-shadow: none !important;
 
}
.ui-header a{padding: 0.5rem 1rem 0.5rem 2rem;}
.ui-input-text, .ui-input-search{ margin:.2em 0 .5em !important;
}
.wysiwyg-editor{ padding:5px;} 

.btn-group{ margin-left:1px !important; margin-right:1px !important;}
 
.note-editor{  border:1px solid #cfcfcf !important}
.u_btn_b{ width:100%; height:40px; line-height:40px; text-align:center; background:#f2f2f2; border:1px solid #d8d8d8; border-radius:0.3rem;}
   </style> 
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> 
<script src="http://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.js"></script>
<script src="__PUBLIC__/Admin/js/artDialog/artDialog.js"></script>
<script src="__PUBLIC__/Admin/js/artDialog/plugins/iframeTools.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/js/artDialog/skins/default.css">

 <!--编辑器-->
 
  <!-- include libraries BS3 -->
  <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" />
  <script type="text/javascript" src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
  <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" />
 
   <!-- include summernote -->
  <link rel="stylesheet" href="__PUBLIC__/Member/weixin_dg114/summernote/summernote.css">
  <script type="text/javascript" src="__PUBLIC__/Member/weixin_dg114/summernote/summernote.js"></script>

  <script type="text/javascript">
    $(document).ready(function() {
      $('.textarea-id').summernote({
        height: 200,
        tabsize: 2,
        codemirror: {
          theme: 'monokai'
        }
 ,toolbar: [

    ['style', ['style']], // no style button

    ['style', ['fontname','bold', 'italic', 'underline', 'clear']],

    ['fontsize', ['fontsize']],
		
    ['color', ['color']],
    ['para', ['ul', 'ol', 'paragraph']],
    ['height', ['height']],
    ['insert', ['picture', 'link','hr']], // no insert buttons
	['Misc', ['fullscreen','undo','redo']],
    //['table', ['table']], // no table button
    //['help', ['help']] //no help button
  ]

      });
	  
	   $('.textarea-ys').summernote({
        height: 200,
        tabsize: 2,
        codemirror: {
          theme: 'monokai'
        },toolbar: [

    ['style', ['style']], // no style button

    ['style', ['fontname','bold', 'italic', 'underline', 'clear']],

    ['fontsize', ['fontsize']],
		
    ['color', ['color']],
    ['para', ['ul', 'ol', 'paragraph']],
    ['height', ['height']],
    ['insert', ['picture', 'link','hr']], // no insert buttons
	['Misc', ['fullscreen','undo','redo']],
    //['table', ['table']], // no table button
    //['help', ['help']] //no help button
  ]
      });
	  
	  
    });
  </script>
 
 <link rel="stylesheet" href="__PUBLIC__/Member/weixin_dg114/summernote/jquery.mobile.css" />

 
 <!--end编辑器-->  
  


 <script>
 function reloads(){
	 alert('提交成功');
	 location.reload();
	 
	 }
 var mydialog = art.dialog;
 
 function closedialog(){
	 mydialog.close();
}
 function showImgBox(curElement,heid,type){ 
if(type==1){ title_='上传logo';}else{title_='上传图片';}
	mydialog.open('{:U('showimgBox')}', {
		
		width:$(window).width(), height: 300,lock:true,title:title_,yesClose:false, ok:function(){
			var d = this.iframe.contentWindow.document;
			
			
		$.post(
		'{:U('Jcrop')}',
		{	type:$(d).find('#type').val(),
			x:$(d).find('#x').val(),
		    y:$(d).find('#y').val(),
			w:$(d).find('#w').val(),
			h:$(d).find('#h').val(),
			src:$(d).find('#img_src').val() 
			},
			function(data){
			if(data == 'OK'){
				$('#'+heid).val($(d).find('#img_src').val());
				curElement.src = $(d).find('#img_src').val();
				closedialog();
			}
		}
		
		); 
		
		
		
		
	
			
		
	}});
}
 </script>
<style>
body{ background:#eeeeee; }
 .i{ width:20px; background:url(__PUBLIC__/Member/weixin_dg114/jiantou.png) no-repeat center;color:#000; 
background-size:55%;} 
.table{ background:#FFF; width:100%;}
table tr td{ padding-left:0.8rem; border-bottom:1px solid #e5e5e5; }
table tr:hover{ background:#f7f7f7;}
.table tr td img{ width:70px; height:70px; border-radius:6px;}
.table tr .td1{ width:70px; height:80px; }
 .table2{ width:100%; background:#FFF;}
.table2 tr td{ height:3rem;}
table tr td a{ width:100%; display:inline-block; text-decoration:none; color:#333 !important; height:3rem; line-height:3rem;
font-weight:normal !important;} 
  </style>
</head>

<body >
<style>
.tf{ width:100%; background:#FFF; height:3rem; margin-bottom:20px;}
#tb{ width:40px; background-size:75% !important;  text-align:center;}
.count{ width:100%; height:3rem; background:#FFF; line-height:3rem;}
.count tr td{ width:50%;}
.count tr td span{ float:right; margin-right:0.8rem; color:#626262;}
 
</style> 
 <style>
.ui-block-a{ padding-right:2px;}
.ui-block-b{ padding-left:2px;}

</style>   
  
      <!-- 我的产品  -->
<div data-role="page" id="pagetwo7">
  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
   <a href="javascript:history.go(-1);"data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a>
<h1 style="text-shadow:none">我的产品</h1>
</div>
<script>
$(function(){
$(".pro").hover(function(){ 
	    $(this).children(".f").fadeIn(100);},
    function(){
		$(this).children(".f").fadeOut(100);}
     );
 	
 	});

function del(id){
	
	$.post(
	"__APP__?g=Member&m=Vcard&a=del",
	{"proid":id},
	function(data){
		if(data['a']==1){alert('删除成功！');location.reload();}
		else{alert('删除失败！');}
		
		},
	"json"
	);
	
	
	}


</script>
  <div data-role="content" style="padding:5px;">
  <div class="ui-grid-a">
  
  <volist name="list" id="vo">
  
 
  <div  class='pro <if condition="($i%2) eq 0">ui-block-b<else />ui-block-a</if>' style=" text-align:center">
   <div style="border:1px solid #e5e5e5;   padding:5px"> 
   <img src="{$vo.img_url}" width="100%">
   </div>
   <p style="padding:5px 0; margin:0; font-size:0.8rem;">{$vo.title}</p> 
   
   <div data-role="footer" style="background:#f9f9f9; border:0; overflow:hidden; display:none; height:55px;" class="f">
   <a href="javascript:del({$vo.id});" data-role="button" style="background:#FFF; border:1px solid #dadada; color:#6b6b6b; padding:6px 10px 6px 30px;" data-icon="delete" class="ui-btn-left" data-ajax="false">删除</a>
   <a href="__APP__/Member/Vcard/editProduct/pro/{$vo.id}#pagetwo6" style="background:#FFF; border:1px solid #dadada; color:#6b6b6b; padding:6px 10px 6px 30px;" data-ajax="false" data-role="button" data-icon="grid"  class="ui-btn-right" >更新</a>
  
 </div>
  </div>
  
  </volist>
  
  </div> 
    
   
   
  </div>

 <include file="Public:footervcard" />
  
</div> 



<!-- end我的产品 -->

 
 
 
  
</body>
</html>
